home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Compilers⁄Interps / GCC-2.3.3r12 / Tests / bug.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-03-08  |  290 b   |  12 lines  |  [TEXT/MPS ]

  1. struct RGBColor {
  2.  unsigned short red;                /*magnitude of red component*/
  3.  unsigned short green;                /*magnitude of green component*/
  4.  unsigned short blue;                /*magnitude of blue component*/
  5. };
  6.  
  7. typedef struct RGBColor RGBColor;
  8.  
  9. pascal long Color2Index(const RGBColor *myColor)
  10.  = 0xAA33; 
  11.  
  12.